Concurrency Effects Over Variable-size Identifiers in Distributed Collaborative Editing
نویسندگان
چکیده
Distributed collaborative editors such as Google Docs or Etherpad allow to distribute the work across time, space and organizations. In this paper, we focus on distributed collaborative editors based on the Conflict-free Replicated Data Type approach (CRDT). CRDTs encompass a set of well-known data types such as sets, graphs, sequences, etc. CRDTs for sequences model a document as a set of elements (character, line, paragraph, etc.) with unique identifiers, providing two commutative update operations: insert and delete. The identifiers of elements can be either of fixed-size or variable-size. Recently, a strategy for assigning variable-size identifiers called LSEQ has been proposed for CRDTs for sequences. LSEQ lowers the space complexity of variable-size identifiers CRDTs from linear to sub-linear. While experiments show that it works locally, it fails to provide this bound with multiple users and latency. In this paper, we propose h-LSEQ, an improvement of LSEQ that preserves its space complexity among multiple collaborators, regardless of the latency. Ultimately, this improvement allows to safely build distributed collaborative editors based on CRDTs. We validate our approach with simulations involving latency and multiple users.
منابع مشابه
Optional Instant Locking in Distributed Collaborative Graphics Editing Systems
Real-time collaborative editing systems are distributed groupware systems that allow multiple users to edit the same document at the same t ime from multiple sites. A specific type of collaborative editing system is the object-based collaborative graphics editing system. f i a ditionally, locking has been used as the major concurrency control techniques in this type of system. This paper examin...
متن کاملA Highly Concurrent Replicated Data Structure EAI Endorsed Transactions
Well defined concurrent replicated data structure is very important to design collaborative editing system, particularly, certain properties like out-of-order execution of concurrent operations and data convergence. In this paper, we introduce novel linear data structure based on unique identifier scheme required for indexed communication. These identifiers are real numbers holding specific pat...
متن کاملThe Effects of Collaborative and Individual Output Tasks on Learning English Collocations
One of the most problematic areas in foreign language learning is collocation. It is often seen as arbitrary and an overwhelming obstacle to the achievement of nativelike fluency. Current second language (L2) instruction research has encouraged the use of collaborative output tasks in L2 classrooms. This study examined the effects of two types of output tasks (editing and cloze) on the learni...
متن کاملTeaching Academic Vocabulary Through Reconstruction Editing Task: Does Group Size Matter?
The use of collaborative classroom interactional tasks is on the rise recently since they incorporate the negotiation of meaning and thus they may be regarded as one of the most efficient ways to ease a learner’s focus on form. This study investigated the immediate and long-term effects of reconstruction editing task on the learning of 20 academic vocabulary items through using five reconstruct...
متن کاملCollaborative Output Tasks and their Effects on Learning English Comparative Adjectives
This study aimed to examine the effect of two types of collaborative output tasks on Iranian EFL learners’ comparative adjectives with two or more syllables. Thirty Iranian EFL learners participated in this study which were then divided into two experimental and one control groups; one experimental group received dictogloss task in 4-pairs and the other experimental group was given text reconst...
متن کامل